package com.project.mapper;

import com.project.bean.EmployeeDoProject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeDoProjectMapper {
    /**
     * 添加进度信息
     * @param employeeDoProject 进度信息对象
     */
    public void addEmployeeToProject(EmployeeDoProject employeeDoProject);

    /**
     * 按进度id修改项目的完成日期为当前日期
     * @param id 进度id
     */
    public void updateFinishDate(@Param("id") int id, @Param("nowDate") String nowDate);
}
